package com.yeyks.consumer.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 消息通知表模板表
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MessageNoticeTemplate对象", description="消息通知表模板表")
public class MessageNoticeTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "模板编号")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "icon地址")
    @TableField("icon_url")
    private String iconUrl;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "推送消息通知内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "状态 1：启用  0：禁用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField("created_time")
    private Date createdTime;


    public static final String ID = "id";

    public static final String CODE = "code";

    public static final String ICON_URL = "icon_url";

    public static final String TITLE = "title";

    public static final String CONTENT = "content";

    public static final String STATUS = "status";

    public static final String CREATED_TIME = "created_time";

}
